package com.example.beans;

public class KTVPlayer implements MediaPlay{

    private String songName;
    private String artist;

    public KTVPlayer(String songName, String artist) {
        this.songName = songName;
        this.artist = artist;
    }

    @Override
    public void play() {
        System.out.println("KTV播放器开始播放");
        System.out.println("播放[" + artist + "]的歌曲《" + songName + "》");
    }
}
